package com.icebartech.core.conf;

import org.springframework.boot.context.properties.ConfigurationProperties;

import com.alibaba.fastjson.JSON;

/**
 * weixin登录配置
 */
@ConfigurationProperties(prefix = "weixin")
public class WeixinProperties{

    private String key;
    private String secret;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
